package com.roshan.web.dto;

/**
 * The Class ForgotPasswordDetail.
 * 
 * @author Dilshan Thambawita
 */
public class ForgotPasswordDetail {

    /** The user detail. */
    private UserDetail userDetail;

    /** The code. */
    private String code;

    /**
     * Gets the user detail.
     * 
     * @return the userDetail
     */
    public UserDetail getUserDetail() {
        return userDetail;
    }

    /**
     * Sets the user detail.
     * 
     * @param userDetail the userDetail to set
     */
    public void setUserDetail(UserDetail userDetail) {
        this.userDetail = userDetail;
    }

    /**
     * Gets the code.
     * 
     * @return the code
     */
    public String getCode() {
        return code;
    }

    /**
     * Sets the code.
     * 
     * @param code the code to set
     */
    public void setCode(String code) {
        this.code = code;
    }

    /*
     * (non-Javadoc)
     * 
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return "ForgotPasswordDetail [userDetail=" + userDetail + ", code=" + code + "]";
    }

}
